FXMXCH=000, NSAM=00, FXMP=0, RRE=0, RRIE=0, INITMOD=000000
CMP Control Register 2
ACOn | The result of the input comparison for channel n |
INITMOD | Comparator and DAC initialization delay modulus. 0 (000000): The modulus is set to 64(same with 111111). |
NSAM | Number of sample clocks 0 (00): The comparison result is sampled as soon as the active channel is scanned in one round-robin clock. 1 (01): The sampling takes place 1 round-robin clock cycle after the next cycle of the round-robin clock. 2 (10): The sampling takes place 2 round-robin clock cycles after the next cycle of the round-robin clock. 3 (11): The sampling takes place 3 round-robin clock cycles after the next cycle of the round-robin clock. |
CH0F | Channel 0 input changed flag |
CH1F | Channel 1 input changed flag |
CH2F | Channel 2 input changed flag |
CH3F | Channel 3 input changed flag |
CH4F | Channel 4 input changed flag |
CH5F | Channel 5 input changed flag |
CH6F | Channel 6 input changed flag |
CH7F | Channel 7 input changed flag |
FXMXCH | Fixed channel selection 0 (000): Channel 0 is selected as the fixed reference input for the fixed mux port. 1 (001): Channel 1 is selected as the fixed reference input for the fixed mux port. 2 (010): Channel 2 is selected as the fixed reference input for the fixed mux port. 3 (011): Channel 3 is selected as the fixed reference input for the fixed mux port. 4 (100): Channel 4 is selected as the fixed reference input for the fixed mux port. 5 (101): Channel 5 is selected as the fixed reference input for the fixed mux port. 6 (110): Channel 6 is selected as the fixed reference input for the fixed mux port. 7 (111): Channel 7 is selected as the fixed reference input for the fixed mux port. |
FXMP | Fixed MUX Port 0 (0): The Plus port is fixed. Only the inputs to the Minus port are swept in each round. 1 (1): The Minus port is fixed. Only the inputs to the Plus port are swept in each round. |
RRIE | Round-Robin interrupt enable 0 (0): The round-robin interrupt is disabled. 1 (1): The round-robin interrupt is enabled when a comparison result changes from the last sample. |
RRE | Round-Robin Enable 0 (0): Round-robin operation is disabled. 1 (1): Round-robin operation is enabled. |